package com.example.servicefeign.service.fallback;

import com.alibaba.fastjson.JSONObject;
import com.example.servicefeign.service.ServiceLogin;
import org.springframework.stereotype.Component;

@Component
public class SchedualServiceLoginFallBack implements ServiceLogin {
    @Override
    public JSONObject sayLoginFromClientOne(String name, String pwd) {
        JSONObject jsonObject = new JSONObject();
        jsonObject.put("default", "断路器的默认数据");
        return jsonObject;
    }
}
